import menuData from '../../../common/mock/cookbook-category.json'
export default {
  data: {
    sliderText: '分类',
    type: 'category',
    menuData: menuData.data
  },

  handleSliderClick(text, type) {
    this.sliderText = text
    this.type = type
  }
}